/digitalIdentity
[GET]
This operation retrieves digital identity status based on ID or billing account number or email address linked to the digital identity.
URL
https://[host]:[port]/shared-domain-ux/v1/{businessId}/digitalIdentity
CWP URL
https://nonprod.cwp.esb.cloud.lla.com/test/shared-domain-ux-cwp/shared-domain-ux/v1/PA/digitalIdentity
LCR URL
https://nonprod.lcr.esb.cloud.lla.com/test/shared-domain-ux-lcr/shared-domain-ux/v1/CR/digitalIdentity
URI Param
| name | type | description | required |
|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y |
| name | type | description | required |
|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
Query Param
| name | type | description | required |
|---|
| individualIdentified.individualIdentification.identificationId | string | Billing account number linked to the digital Identity ex: "354285560000" | Y |
| individualIdentified.individualIdentification.identificationType | string | Billing account number type to refer the identification Id ex: "BillingAccount" | Y |
| contactMedium.emailAddress | string | Email address linked to the digital Identity ex: "user@email.com" | Y |
| id | string | Unique Digital Identity Profile ID | Y |
If more than one query parameter is provided, the lookup priority at SAP CDC is:
- id
- billingAccount
- emailAddress
cURL Request
Query with ID
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?id=digid-123456' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Query with Billing account
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?individualIdentified.individualIdentification.identificationId=354285560000&individualIdentified.individualIdentification.identificationType=BillingAccount' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Query with email address
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?contactMedium.emailAddress=user@email.com' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Response
[{
"id": "digid-123456",
"status": "Pending",
"credential": [
{
"id": "1",
"login": "suepitti15@email.com",
"@type": "LoginPasswordCredential"
}
]
}]